package com.elvin.wx.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.elvin.wx.beans.Organize;
import com.elvin.wx.beans.UserOrganize;
import com.elvin.wx.mapper.UserOrganizeMapper;
import com.elvin.wx.service.UserOrganizeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class UserOrganizeServiceImpl extends ServiceImpl<UserOrganizeMapper, UserOrganize> implements UserOrganizeService {
	@Resource
	private UserOrganizeMapper mapper;

	@Override
	public Organize selectOrgByUserId(Integer userId) {
		return mapper.selectOrgByUserId(userId);
	}
}
